/**
 * 个人设置
 * @description 个人设置相关的路由配置
 */
import {NgModule} from '@angular/core';
import {RouterModule, Routes} from '@angular/router';
import {SetDefaultComponent} from "./set-default/set-default.component";
import {ChangePwdComponent} from "./change-pwd/change-pwd.component";


let setRoutings: Routes = [
  {path: '', redirectTo: 'default', pathMatch: 'full'}
  , {path: 'default', component: SetDefaultComponent} // 设置列表
  , {path: 'change-pwd', component: ChangePwdComponent} // 修改密码
];

@NgModule({
  imports: [RouterModule.forChild(setRoutings)],
  exports: [RouterModule],
  providers:[]
})
export class SetRoutingModule{}
